package com.shuwen.gcdj.common.exception;

import lombok.Data;

/**
 * 自定义API异常
 * @author ldongxu
 */
@Data
public class OpApiException extends RuntimeException {

    private  long code;
    private  String message;


    public OpApiException(long code, String message){
        super(String.valueOf(code));
        this.code = code;
        this.message = message;
    }


}
